<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib prefix="zhangfn" uri="http://github.com/zhangkaitao/tags/zhang-functions" %>
<!DOCTYPE html>
<html>
<head>
    <title></title>
    <meta charset="UTF-8">
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/static/css/bootstrap.css" />
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/static/css/bootstrap-responsive.css" />
    <link rel="stylesheet" href="${pageContext.request.contextPath}/static/css/style2.css" type="text/css" media="all" />
     <link rel="stylesheet" href="${pageContext.request.contextPath}/static/css/demo.css" type="text/css" media="all" />
    
    <script type="text/javascript" src="${pageContext.request.contextPath}/static/js/jquery.js"></script>
    
    <script type="text/javascript" src="${pageContext.request.contextPath}/static/js/bootstrap.js"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/static/js/ckform.js"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/static/js/common.js"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/static/js/showdate.js"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/static/js/laydate/laydate.js"></script>
   	<script src="${pageContext.request.contextPath}/static/js/zoom.js"></script>
   	<script type="text/javascript" src="${pageContext.request.contextPath}/static/js/jquery-1.6.2.min.js"></script>
	<script type="text/javascript" src="${pageContext.request.contextPath}/static/js/Validform_v4.0_min.js"></script>
    
</head>
<body class="main" class="wraper">
<form:form method="post" commandName="exp" class="registerform"  enctype="multipart/form-data">
	<form:hidden path="id" />
		<table class="table table-bordered table-hover definewidth m10" style="margin-left:3%;margin-top:2%;">		
	 	<tr> 		
        	<td width="10%" class="tableleft" >*标签内容 </td>
        	<td><form:input path="label" style="height: 41px; width: 300px" datatype="*"  nullmsg="标签内容不能为空！"/></td>
      		<td><div class="Validform_checktip"></div></td>
    	</tr>
    	<tr>
			<td width="10%" class="tableleft" >*星级</td>
	 		<td><form:input path="starLevel" style="height: 41px; width: 300px" datatype="*"  nullmsg="星级不能为空！"/></td>			
		</tr>
		<%-- <tr>
			<td width="10%" class="tableleft" >*性别</td>
	 		<td><form:input path="sex" style="height: 41px; width: 300px" datatype="*"  nullmsg="性别不能为空！"/></td>			
		</tr> --%>
		<tr>
        	<td class="tableleft">*性别</td>
        	<td> 
        		<div style="margin:0 auto;">
        			 <form:select path="sex">                    
                
                   	<form:option value="男">男</form:option>  
                   	<form:option value="女">女</form:option>  
                 	</form:select>  	            
             	</div> 
        	</td>
    	</tr>  
		<tr>
        	<td width="10%" class="tableleft" >*录入时间</td>
        	<td><form:input path="inputTime" onclick="laydate({istime: true, format: 'YYYY-MM-DD hh:mm:ss'})" class="laydate-icon" datatype="*" nullmsg="录入时间不能为空!"/></td>
    	</tr>
    	 <tr>
        	<td class="tableleft">*状态</td>
        	<td> 
        		<div style="margin:0 auto;">
        			 <form:select path="labelType">                    
                
                   	<form:option value="1">订单标签</form:option>  
                   	<form:option value="2">约车标签</form:option>  
                 	</form:select>  	            
             	</div> 
        	</td>
    	</tr>  
    	<tr>
        	<td class="tableleft">*状态</td>
        	<td> 
        		<div style="margin:0 auto;">
        			 <form:select path="labelState">                    
                   	<form:option value="0">启用</form:option>  
                   	<form:option value="1">禁用</form:option>  
                 	</form:select>  	            
             	</div> 
        	</td>
    	</tr> 
    	<tr>
			<td width="10%" class="tableleft" >序列</td>
	 		<td><form:input path="sequence" style="height: 41px; width: 300px"/></td>			
		</tr> 		
    	<tr>
        	<td class="tableleft"></td>
        	<td>
           		<form:button>${op}</form:button>             
       		</td>
    	</tr>
	</table>
</form:form>
</body>
<script type="text/javascript">
$(function(){
	//$(".registerform").Validform();  //就这一行代码！;
	
	$(".registerform").Validform({
		tiptype:1
	});
})
</script>
</html>
<script>
function jump(){
 window.location.href="placardQuery.html";
}
</script>